package com.yyjj.zixun;

import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.yyjj.zixun.fragmnet.ArticleFragment;
import com.yyjj.zixun.fragmnet.GanTouFragment;
import com.yyjj.zixun.fragmnet.HomeZixunFragment;
import com.yyjj.zixun.fragmnet.ZixunFragment;

import tech.com.commoncore.basecomponent.service.IZiXunService;



public class ZiXunService implements IZiXunService {

    @Override
    public Fragment newZiXunFragment(Bundle bundle) {
         return ZixunFragment.newInstance();
//         return ArticleFragment.newInstance("195", true);
    }

    @Override
    public Fragment newArticalFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newFlashFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newVedioFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newCalendarFragment(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newZixunPort(Bundle bundle) {
        return null;
    }

    @Override
    public Fragment newGanTou(Bundle bundle) {
        return HomeZixunFragment.newInstance();
    }

}
